package com.ys.num2.Entity;

public class Employee {
    private String userName;
    //    年龄
    private Integer age;
    //    密码
    private String password;


    public Employee() {
    }

    public Employee(String userName, Integer age, String password) {
        this.userName = userName;
        this.age = age;
        this.password = password;
    }

    /**
     * 获取
     * @return userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * 设置
     * @param userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * 获取
     * @return age
     */
    public Integer getAge() {
        return age;
    }

    /**
     * 设置
     * @param age
     */
    public void setAge(Integer age) {
        this.age = age;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    public String toString() {
        return "Employee{userName = " + userName + ", age = " + age + ", password = " + password + "}";
    }
}
